package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "mall_product_plan_month")
public class MallProductPlanMonth {
    /**
     * 办事处计划月份汇总表id
     */
    @Id
    @Column(name = "mall_product_plan_month_id")
    private Integer mallProductPlanMonthId;

    @Column(name = "dealer_id")
    private Integer dealerId;

    private Integer month;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * 审核状态 0：未发起 1：审核中 2：审核通过 3：审核不通过
     */
    private Integer status;

    private Integer year;

    private String opinion;

    /**
     * 获取办事处计划月份汇总表id
     *
     * @return mall_product_plan_month_id - 办事处计划月份汇总表id
     */
    public Integer getMallProductPlanMonthId() {
        return mallProductPlanMonthId;
    }

    /**
     * 设置办事处计划月份汇总表id
     *
     * @param mallProductPlanMonthId 办事处计划月份汇总表id
     */
    public void setMallProductPlanMonthId(Integer mallProductPlanMonthId) {
        this.mallProductPlanMonthId = mallProductPlanMonthId;
    }

    /**
     * @return dealer_id
     */
    public Integer getDealerId() {
        return dealerId;
    }

    /**
     * @param dealerId
     */
    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }

    /**
     * @return month
     */
    public Integer getMonth() {
        return month;
    }

    /**
     * @param month
     */
    public void setMonth(Integer month) {
        this.month = month;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取审核状态 0：未发起 1：审核中 2：审核通过 3：审核不通过
     *
     * @return status - 审核状态 0：未发起 1：审核中 2：审核通过 3：审核不通过
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置审核状态 0：未发起 1：审核中 2：审核通过 3：审核不通过
     *
     * @param status 审核状态 0：未发起 1：审核中 2：审核通过 3：审核不通过
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return year
     */
    public Integer getYear() {
        return year;
    }

    /**
     * @param year
     */
    public void setYear(Integer year) {
        this.year = year;
    }

    /**
     * @return opinion
     */
    public String getOpinion() {
        return opinion;
    }

    /**
     * @param opinion
     */
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
}